package cn.iocoder.yudao.module.system.controller.admin.officeinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 办公室座位信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SeatinfoRespVO {

    @Schema(description = "办公室ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("办公室ID")
    private Long officeId;

    @Schema(description = "座位编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("座位编号")
    private Long seatNum;

    @Schema(description = "座位状态")
    @ExcelProperty(value = "座位状态", converter = DictConvert.class)
    @DictFormat("seat_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer seatStatus;

    @Schema(description = "座位名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("座位名称")
    private String seatName;

    @Schema(description = "座位位置")
    @ExcelProperty("座位位置")
    private String seatSite;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "座位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23730")
    @ExcelProperty("座位ID")
    private Long id;

    @Schema(description = "所属区域")
    @ExcelProperty("所属区域")
    private String seatRegion;

}